﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using FwProject.Comm.ExcelUtil;

namespace FwProject.Restaurant.Dto
{
    /// <summary>
    /// 押金统计
    /// </summary>
    [DisplayName(displayName: "押金统计")]
    public class ExportDepositStatisticsDto
    {
        /// <summary>
        /// 餐厅名称
        /// </summary>
        [DisplayName(displayName:"餐厅名称")]
        [ExcelDateMember]
        public string RestaurantName { get; set; }
        /// <summary>
        /// 押金收取日期
        /// </summary>
        [DisplayName(displayName: "押金收取日期")]
        [ExcelDateMember]
        public DateTime? DepositDate { get; set; }
        /// <summary>
        /// 押金金额
        /// </summary>
        [DisplayName(displayName: "押金金额")]
        [ExcelDateMember(IsSum =true)]
        public double Deposit { get; set; }
        /// <summary>
        /// 餐厅联系人
        /// </summary>
        [DisplayName(displayName: "联系人")]
        [ExcelDateMember]
        public string Name { get; set; }
        /// <summary>
        /// 手机
        /// </summary>
        [DisplayName(displayName: "手机")]
        [ExcelDateMember]
        public string Mobile { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
